#ifndef __LED_H__
#define __LED_H__

#include "stm32f4xx.h"
#include "delay.h"

#define LED1_PIN GPIO_Pin_14
#define LED2_PIN GPIO_Pin_13
#define LED3_PIN GPIO_Pin_6
#define LED4_PIN GPIO_Pin_11
#define LED_GROUP GPIOG
#define RCC_LED_GROUP RCC_AHB1Periph_GPIOG

extern void led_init(void);
extern void led_blink(void);
extern void led_water(void);
extern void led_change_speed_water(uint8_t speed_mode, uint8_t water_mode, uint8_t manual_light_num);

#endif
